package com.kai.service.system.mapper;

import com.kai.service.system.entity.RoleResource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色权限表 Mapper 接口
 * </p>
 *
 * @author wjk
 * @since 2021-12-11
 */
public interface RoleResourceMapper extends BaseMapper<RoleResource> {

    List<Integer> getRoleIdsByResourceId(@Param("resourceId") Integer resourceId);
}
